<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>新增随访组成员--随访员</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/jquery-1.12.4.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/jsplug/echarts.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/common/layui/layui.js"></script>
</head>
<body>
<div class="container">
    <div class="panel-body">
        <button class="btn btn-primary">
            <a href='${pageContext.request.contextPath}/foGroup/list?foGroupId=${foGroup.foGroupId}'>返回单个随访组</a>
        </button>
    </div>
    <div class="col-sm-12">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>随访员id</th>
                <th>随访员名</th>
                <th>所属科室</th>
                <th>工号</th>
                <th>联系电话</th>
                <th>电子邮箱</th>
                <th>入职时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <c:forEach items="${meaningUserList}" var="meaningUserlist">
                <tr>
                    <td>${meaningUserlist.userId}</td>
                    <td>${meaningUserlist.username}</td>
                    <td>${meaningUserlist.departmentName}</td>
                    <td>${meaningUserlist.jobNumber}</td>
                    <td>${meaningUserlist.userPhone}</td>
                    <td>${meaningUserlist.userEmail}</td>
                    <td><fmt:formatDate pattern="yyyy-MM-dd" value="${meaningUserlist.userDatetime}"/></td>
                    <td>
                        <a href='${pageContext.request.contextPath}/foGroup/addFogroupMeaningUser?userId=${meaningUserlist.userId}&foGroupId=${foGroup.foGroupId}'>
                            <button>加入随访组</button>
                        </a>
                    </td>
                </tr>
            </c:forEach>
        </table>
    </div>
</div>
</body>
</html>